# 旋转字符串
def rotateString(self, s, goal):
    if len(s) != len(goal):
        return False
    return goal in (s + s)